package com.evision.webcrawler.entity;

import java.io.Serializable;

/**
 * Created by wangys on 17-9-27.
 */
public class Target implements Serializable {
    private Integer id;
    private String url;         //资源URL
    private String picture;     //照片的URL
    private String method;
    private Integer taskId;
    public Target() {
    }

    public Target(Integer id, String url, String picture, String method, Integer taskId) {
        this.id = id;
        this.url = url;
        this.picture = picture;
        this.method = method;
        this.taskId = taskId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    @Override
    public String toString() {
        return "Target{" +
                "id=" + id +
                ", url='" + url + '\'' +
                ", picture='" + picture + '\'' +
                ", method=" + method +
                ", taskId=" + taskId +
                '}';
    }
}
